import React, { Component } from 'react'

import { BaoButton } from "./baobao-frame"
export default class LayOut extends Component {

  fn = () => {
    console.log("---")
  }
  render() {
    
    return (
      <div>
        <BaoButton type="primary" onClick={this.fn} size="lg"> 主要-绿色 </BaoButton>
        <BaoButton type="info" onClick={this.fn}> 信息-蓝色 </BaoButton>
        <BaoButton type="danger" onClick={this.fn}> 危险-红色 </BaoButton>
        <BaoButton type="warning" onClick={this.fn}> 警告-橙色 </BaoButton>
      </div>
    )
  }
}
